package com.example.servicea.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.example.servicea.entity.PermissionEntity;

import java.util.List;

/**
 * @Author hutu.
 * @Date: 2017/10/26 10:19
 */
public interface PermissionService {
    boolean insert(PermissionEntity permission);
    List<PermissionEntity> selectList(PermissionEntity permission);

    Page selectPage(PermissionEntity permission, String page, String limit);

    int selectCount(PermissionEntity permission);

	PermissionEntity selectOne(PermissionEntity permission);

	PermissionEntity selectById(String id);

    boolean updateById(PermissionEntity permission);

    boolean deleteById(String id);

    boolean deleteBatchIds(String ids);

}